package test.cluster;

import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;

public class ResultPacket implements Externalizable {
	private String result;
	
	@Override
	public void writeExternal(ObjectOutput out) throws IOException {
		out.writeObject(result);
	}

	@Override
	public void readExternal(ObjectInput in) throws IOException,
			ClassNotFoundException {
		result = (String) in.readObject();
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}
}
